package com.flyco.modules.pms.entity;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import com.flyco.poi.excel.annotation.Excel;

/**
 * @Description: 品牌
 * @Author: flyco
 * @Date:   2019-11-13
 * @Version: V1.0
 */
@Data
@TableName("pms_brand")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="pms_brand对象", description="品牌")
public class PmsBrand {
    
	/**品牌ID*/
	@TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "品牌ID")
	private Long id;
	/**名称*/
	@Excel(name = "名称", width = 15)
    @ApiModelProperty(value = "名称")
	private String name;
	/**首字母*/
	@Excel(name = "首字母", width = 15)
    @ApiModelProperty(value = "首字母")
	private String firstLetter;
	/**排序*/
	@Excel(name = "排序", width = 15)
    @ApiModelProperty(value = "排序")
	private Integer sort;
	/**是否为品牌制造商：0->不是；1->是*/
	@Excel(name = "是否为品牌制造商：0->不是；1->是", width = 15)
    @ApiModelProperty(value = "是否为品牌制造商：0->不是；1->是")
	private String factoryStatus;
	/**是否显示*/
	@Excel(name = "是否显示", width = 15)
    @ApiModelProperty(value = "是否显示")
	private String showStatus;
	/**产品数量*/
	@Excel(name = "产品数量", width = 15)
    @ApiModelProperty(value = "产品数量")
	private Integer productCount;
	/**产品评论数量*/
	@Excel(name = "产品评论数量", width = 15)
    @ApiModelProperty(value = "产品评论数量")
	private Integer productCommentCount;
	/**品牌logo*/
	@Excel(name = "品牌logo", width = 15)
    @ApiModelProperty(value = "品牌logo")
	private String logo;
	/**专区大图*/
	@Excel(name = "专区大图", width = 15)
    @ApiModelProperty(value = "专区大图")
	private String bigPic;
	/**品牌故事*/
	@Excel(name = "品牌故事", width = 15)
    @ApiModelProperty(value = "品牌故事")
	private Object brandStory;
	/**创建人*/
	@Excel(name = "创建人", width = 15)
    @ApiModelProperty(value = "创建人")
	private String createBy;
	/**创建时间*/
	@Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
	private Date createTime;
	/**更新人*/
	@Excel(name = "更新人", width = 15)
    @ApiModelProperty(value = "更新人")
	private String updateBy;
	/**更新时间*/
	@Excel(name = "更新时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
	private Date updateTime;
}
